IDistList : IMAPIContainer

The IDistList interface is used to provide access to distribution lists in modifiable address book containers. IDistList can create, copy, and delete distribution lists, in addition to performing name resolution.

Quick Info

Header file:

MAPIDEFS.H

Exposed by:

Distribution list objects

Implemented by:

Address book providers

Called by:

Client applications

Corresponding pointer type:

LPDISTLIST

 

Vtable Order

No unique methods

Required properties

Access

PR_ADDRTYPE7C7E4S

Read/write

PR_DISPLAY_NAME1KS30YA

Read/write

PR_ENTRYID2JH9H8T

Read-only

PR_OBJECT_TYPE4YLDI0

Read-only

PR_RECORD_KEYQV4J.N

Read-only

 

Remarks

IDistList inherits from IMAPIContainer and includes the same methods as address book containers. Therefore, because the methods of the IDistList interface are identical to those of the IABContainer interface, they are not redocumented here.

A distribution list, or object that implements IDistList, is a collection of messaging user objects, or individual recipients. A distribution list can be made up of all messaging user objects, or some messaging user and some distribution lists.

There are typically two types of distribution lists:

    Distribution lists that are expanded by the underlying messaging system. This type of list has an address, PR_EMAIL_ADDRESSJ.C5HA, and is treated the same as if it were an individual recipient.

    Distribution lists that exist in a local container and are expanded by the client application.

 

Optional distribution list properties include:

PR_LAST_MODIFICATION_TIME1Q8L0FE

PR_DISPLAY_TYPEYIXSE1

PR_DETAILS_TABLE2Y56ZRM

 

Notice that PR_ADDRTYPE is required, but PR_EMAIL_ADDRESS is not. That is because a distribution list without an e-mail address can still receive messages, but its member list must be expanded. If the PR_ADDRTYPE property is set to MAPIPDL, MAPI performs the expansion. If PR_ADDRTYPE is a value other than MAPIPDL, the transport provider performs the expansion.

For further information on using the IDistList methods, see the reference entries for the parallel methods of IABContainer1FQGP0E.

For more information about creating a distribution list, see Implementing IABContainer::CreateEntry92HQI8.